a =int(input("请输入年份"))
b = a//100
if a%4==0 and b!=0:
    print("是闰年")
elif a%400==0:
    print("是闰年")
else:
    print("不是闰年")

